sizes=(20 29 40 48 58 60 76 80 87 96 108 120 152 167 180 192 216 432);
lenth=${#sizes[*]};

for (( i = 0; i < lenth; i++ )); do
	curSize=${sizes[i]};
	convert 1024.png -resize ${curSize}x${curSize} ${curSize}.png
done
